home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Star Software Collection
/
NSS_Collection.iso
/
5-027 form works v201
/
3.img
/
HPFLOAD.BAT
< prev
Wrap
DOS Batch File
|
1992-01-23
|
7KB
|
241 lines
echo off
cls
if %1: == : goto Error0
if not exist %1:\FILLER\FFW.EXE goto Error2
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Installing FormWorx HP soft fonts on your hard disk ║
echo ╟──────────────────────────────────────────────────────────────────────╢
echo ║ Note: This batch file will install HP compatible fonts on your hard ║
echo ║ drive. It will create one directory on the hard drive specified by ║
echo ║ you, copy files into that directory, and uncompress the ║
echo ║ installation files. ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
if %1 == a goto Error1
cls
if %1 == A goto Error1
cls
if %1 == b goto Error1
cls
if %1 == B goto Error1
cls
if %1 == c goto Begin
cls
if %1 == C goto Begin
cls
if %1 == d goto Begin
cls
if %1 == D goto Begin
cls
if %1 == e goto Begin
cls
if %1 == E goto Begin
cls
if %1 == f goto Begin
cls
if %1 == F goto Begin
cls
if %1 == g goto Begin
cls
if %1 == G goto Begin
cls
if %1 == h goto Begin
cls
if %1 == H goto Begin
cls
if %1 == i goto Begin
cls
if %1 == H goto Begin
cls
if %1 == j goto Begin
cls
if %1 == J goto Begin
cls
if %1 == k goto Begin
cls
if %1 == K goto Begin
cls
if %1 == l goto Begin
cls
if %1 == L goto Begin
cls
if %1 == m goto Begin
cls
if %1 == M goto Begin
cls
if %1 == n goto Begin
cls
if %1 == N goto Begin
cls
if %1 == o goto Begin
cls
if %1 == O goto Begin
cls
if %1 == p goto Begin
cls
if %1 == P goto Begin
cls
if %1 == q goto Begin
cls
if %1 == Q goto Begin
cls
if %1 == r goto Begin
cls
if %1 == R goto Begin
cls
if %1 == s goto Begin
cls
if %1 == S goto Begin
cls
if %1 == t goto Begin
cls
if %1 == T goto Begin
cls
if %1 == u goto Begin
cls
if %1 == U goto Begin
cls
if %1 == v goto Begin
cls
if %1 == V goto Begin
cls
if %1 == w goto Begin
cls
if %1 == W goto Begin
cls
if %1 == x goto Begin
cls
if %1 == X goto Begin
cls
if %1 == Y goto Begin
cls
if %1 == Y goto Begin
cls
if %1 == z goto Begin
cls
if %1 == Z goto Begin
cls
:Error0
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Error: Destination drive not specified. ║
echo ╟──────────────────────────────────────────────────────────────────────╢
echo ║ To install FormWorx on drive C, type: ║
echo ║ ║
echo ║ HPFLOAD C [Enter] ║
echo ║ ║
echo ║ You may also install FormWorx on drives D, E, and F by simply ║
echo ║ typing the appropriate drive name instead of C. ║
echo ║ ║
echo ║ Note: Do NOT type a colon, ':', after the drive name. ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
goto Exit
:Error1
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Error: Cannot install on drive %1: ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
goto Exit
:Error2
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Error: Please install FormWorx on drive %1: before installing fonts ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
goto Exit
:Begin
cls
FwDskTst 1000000 %1
if errorlevel 3 goto DskError3
if errorlevel 2 goto DskError2
if errorlevel 1 goto DskError1
if errorlevel 0 goto DskTstDone
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DiskTest: Unknown error ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
goto DskTstExit
:DskError1
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DiskTest: Not enough space ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
goto DskTstExit
:DskError2
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DiskTest: Invalid Command Line ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
goto DskTstExit
:DskError3
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ DiskTest: Invalid Drive ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
:DskTstExit
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Font installation terminated. Soft fonts NOT installed! ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
goto Exit
:DskTstDone
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Installing fonts on drive %1 ║
echo ╚══════════════════════════════════════════════════════════════════════╝
echo.
pause
cls
CD %1:\FILLER
COPY FPWFONTS.EXE %1:\FILLER
%1:
CD\FILLER
cls
echo.
echo.
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Uncompressing files in %1:\FILLER (please wait...) ║
echo ╚══════════════════════════════════════════════════════════════════════╝
FPWFONTS.exe -o
DEL \FILLER\FPWFONTS.exe
cls
echo ╔══════════════════════════════════════════════════════════════════════╗
echo ║ Installation complete. Please be sure to store your FILLER disks ║
echo ║ in a safe place. ║
echo ║ ║
echo ║ NOTE: Be sure to read FPWNOTES.TXT for information on installing and ║
echo ║ using these soft fonts in Windows. ║
echo ╚══════════════════════════════════════════════════════════════════════╝
:Exit